<template>
  <div>
    <el-button type="text" icon="el-icon-back" @click="$store.commit('request/SET_STEPS', 2)">返回</el-button>
    <div class="view-style-title">任务确认</div>
    <div class="affirmpage">
      <div class="affirm-list">
        <span>派单对象</span>
        <span>电力承包</span>
      </div>
      <div class="affirm-list">
        <span>结算方式</span>
        <span>酬金制</span>
      </div>
      <div class="affirm-list">
        <span>派单方式</span>
        <span>抢单</span>
      </div>
      <div class="affirm-list">
        <span>电工人数(人)</span>
        <span>x1</span>
      </div>
      <div class="dd-msg">
        <div class="dd-item">
          <span>订单金额(元)：</span>
          <span>700</span>
        </div>
        <div class="dd-item">
          <span>订单金额(元)：</span>
          <span>700</span>
        </div>
        <div class="dd-item">
          <span>订单金额(元)：</span>
          <span class="pay">700</span>
        </div>
      </div>
      <div class="xy-msg">
        <div class="xy-link"><el-checkbox v-model="checked" />我已阅读并同意 <el-link type="primary">《服务购买协议》</el-link></div>
        <div class="all">总账户可用余额(元)：7000.00 </div>
        <div class="sur">产品可用余额(元)：6500.00</div>
      </div>
      <div class="btns">
        <el-button type="primary">确认支付</el-button>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      checked: ''
    }
  }
}
</script>
<style lang="scss" scoped>
.affirmpage {
  .btns{
    text-align: right;
    margin-top: 20px;
  }
  padding: 20px;
  .affirm-list {
    margin-bottom: 22px;
    font-size: 16px;
    font-family: PingFangSC-Medium;
    font-weight: 500;
    color: rgba(102, 102, 102, 1);
    line-height: 22px;
    display: flex;
    justify-content: space-between;
    & > span:nth-child(2) {
      font-size: 16px;
      font-family: PingFangSC-Regular;
      font-weight: 400;
      color: rgba(48, 49, 51, 1);
      line-height: 22px;
    }
  }
  .dd-msg {
    text-align: right;
    padding: 10px;
    background-color: #f8f9fb;
    .dd-item {
      margin: 0 10px;
      font-size: 14px;
      font-weight: 400;
      color: rgba(153, 153, 153, 1);
      line-height: 20px;
      & > span:nth-child(2) {
        display: inline-block;
        min-width: 80px;
      }
      .pay {
        font-size: 18px;
        font-family: PingFangSC-Medium;
        font-weight: 500;
        color: rgba(65, 129, 255, 1);
        line-height: 25px;
      }
    }
  }
  .xy-msg{
      .xy-link{
          margin-top: 10px;
          margin-bottom: 10px;
      }

      text-align: right;
      .all,.sur{
            font-size:11px;
            font-family:PingFangSC-Regular;
            font-weight:400;
            color:rgba(153,153,153,1);
            line-height:16px;
      }
  }
}
</style>

